<?php
/**
 * @version		$Id: default.php 22338 2011-11-04 17:24:53Z github_bot $
 * @package		Joomla.Site
 * @subpackage	mod_articles_latest
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
?>
		
<div id="latestnews">
<?php if ($module->showtitle) { ?>
	<h2><span><?php echo $module->title; ?><a href="<?php echo JRoute::_(ContentHelperRoute::getCategoryRoute($list[0]->catslug)); ?>"><?php echo JTEXT::_("MOD_MORE_ARTICLES"); ?></a></span></h2>
<?php }; ?>
<?php foreach ($list as $item) :  ?>
	<div class="post" style="margin-top:10px">

	<p><?php echo date("D, d M Y", strtotime($item->created)); ?></p>
			<h3><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></h3>

	</div>
<?php endforeach; ?>
</div><!--latestnews-->
		
		
		
		
		